﻿<ContentDialog 
    x:Name="ContentDialog"
    x:Class="Sidvall.UI.Uwp.Dialogs.ProgressDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Sidvall.UI.Uwp.Dialogs"
    xmlns:vms="using:Sidvall.UI.ViewModels"
    xmlns:controls2="using:Sidvall.UI.Uwp.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    PrimaryButtonText="{Binding ViewModel.ActionCaption, ElementName=ProgressControl}"
    PrimaryButtonClick="ContentDialog_PrimaryButtonClick"
    FullSizeDesired="True">

    <Grid>
        <controls2:ProgressControl x:Name="ProgressControl" ActivityCompleted="ProgressControl_ActivityCompleted" />
    </Grid>
</ContentDialog>
